package com.xiaoxi.open.common.enumeration;

public enum CommonStatusEnum implements BaseStatusType {

    OK("200", "成功"),
    ERROR("500", "服务器异常");

    private final String code;

    private final String msg;

    CommonStatusEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }
}
